<template>
	<el-button>
		<i class="fa fa-download"></i>
		<a target="_blank" :href="url" @click="exportFile">导出</a>
	</el-button>
</template>
<script>
	export default {
		props: ['url'],
		data() {
			return {

			}
		},
		methods: {
			exportFile() {
				this.$emit('export')
			}
		}
	}
</script>
<style>
</style>